package com.jiazhong.pojo;

public class Book {
    private Integer id;
    private String name;
    private String number;
    private String content;


    public Book() {
    }

    public Book(Integer id, String name, String number, String content) {
        this.id = id;
        this.name = name;
        this.number = number;
        this.content = content;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return number
     */
    public String getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(String number) {
        this.number = number;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    public String toString() {
        return "Book{id = " + id + ", name = " + name + ", number = " + number + ", content = " + content + "}";
    }
}
